開放聲音系統(Open Sound System,OSS)是一個在 Unix 操作系統上用於發出和取得聲音的介面。它是基於標準的 Unix 裝置(即 POSIX 的讀、寫、ioctl 等)。

Quick Facts 原作者, 開發者 ...
Open Sound System
原作者Hannu Savolainen
開發者4Front Technologies
首次發布1992
目前版本4.2 Build 2008(2013年6月14日,​11年前​(2013-06-14[1]
作業系統跨平台
類型音訊
許可協定BSD許可證 / 通用開發與散布許可證 / GNU General Public License / 專有
網站www.opensound.com
Close

OSS 是在 1992年由 Hannu Savolainen 創造的,目前可用於11個主流的類Unix操作系統。OSS 可以在4種授權選擇下發布,其中3種是自由軟體授權,因此 OSS 是自由軟體。[2]

API

這個 API 設計成使用傳統 Unix 的 open()、read()、write() 和 ioctl() 架構,存取特定的裝置。例如,聲音輸入和輸出的預設裝置是 /dev/dsp。使用Shell 的例子:

cat /dev/urandom >/dev/dsp # plays white noise through the speaker
cat /dev/dsp >a.a # reads data from the microphone and copies it to file a.a

免費,專有,自由

2007年7月,4Front Technologies 發布用於 OpenSolaris 的 CDDL 和用於 Linux 的 GPL 授權的 OSS 原始碼。[2] 2008年1月4Front Technologies發布基於 FreeBSD (和其它 BSD 系統)下BSD許可證的 OSS。[3]

參見

參考文獻

外部連結

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.